<include file="Public:header" />
			<include file="Public:menu" />
			<div id="right">
				<div class="top"></div>
				<div class="app_right_banner">
					<div class="app_face">
						<img src="__PUBLIC__/Uploads/face/small/{$userInfo['faceimg']}"/>
					</div>
					<div class="app_userinfo">
						<p class="app_module">{$userInfo['username']}与{$toname}的对话</p>
						<p class = "app_module_back"><a href="__APP__/user">返回我的空间</a></p>
					</div>
				</div>
				<div id="guestshow">
				<div>
					<?php 
						if ($_GET["t"] != $myId){
					 ?>
					
					<div class="guest">
						<h4>给{$toname}留言</h4>
						<form id="guestform" action="__APP__/guest/insert" method="POST">
							<textarea cols="42" rows="5" class="textarea" id="guestcontent" name="content"></textarea>
							<br/>
							<input type="hidden" value="{.t}" id="userid" name="userid"/>
							<input type="submit" value="留言" class="input2"/>
						</form>
					</div>
					<?php 
						}
					 ?>
					<div class="guest">
						<a href="__APP__/home/{.u}">去{$userInfo:username}的空间</a> | <a href="__APP__/home/{.t}">去{$toname}的空间</a>
					</div>
				</div>
				<div>
					<ul id="guestlist">
						<volist name="guestList" id="guest">
						<li class="guest">
							<div>
								<div class="guestface">
									<a href="__APP__/home/{$guest['guestid']}"><img src="/Public/Uploads/face/small/{$guest['faceimg']}"  width="70" height="60"/></a>
								</div>
								<div class="guestcontent">
									<div class="app_title3"><a href="__APP__/home/{$guest['guestid']}">{$guest['username']}</a> <span class="li_time">{$guest['regtime']|toDate}</span> 
									<?php if($guest['guestid'] == $myId){ ?>
									<a href="__URL__/del/id/{$guest['id']}" class="delguest">X</a>
									<?php } ?>
									</div>
									<div>{$guest['content']}</div>
								</div>
							</div>
						</li>
						</volist>
					</ul>
					<div>
				</div>
				<div class="guest">
				{$page}
				</div>
			</div>
<include file="Public:footer" />